<%@ page language="java" contentType="text/html; charset=utf8"
    pageEncoding="utf8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
   
<title>Insert title here</title>
</head>

<link rel="stylesheet" href="/hospital-system/bootstrap-5.3.0/css/bootstrap.css">
<body>
 <nav class="navbar navbar-dark bg-dark ">
  <span class="navbar-brand mb-auto h1 col-lg-2 mr-auto my-10  navbar-nav-scroll">欢迎使用医生管理系统</span>
  <form class="form-inline">
     <input type="button" class="btn btn-outline-success my-2 my-sm-0" 
       onclick="window.location.href='/hospital-system/doctorSelectReportOne';" value="退出">
  </form>
</nav>
 <img src="/hospital-system/images/back.jpg" class="d-block w-100" alt="...">
      <div class="carousel-caption d-none d-md-block">
    <div class="row mt-3">
	<div class="col-sm-9 offset-sm-2">			
 <c:forEach items="${ReportList}" var="report" >
   <div class="card text-dark bg-info table-striped mb-600 "  style="max-width: 300rem;">
   <div class="card-header text-center">蓝精灵医院就诊报告单</div>
   <div class="card-body">
   <div class="row">
    <div class="col-sm-4">
    <p class="card-text">报告单号：${report.vid}</p>
    </div>
    <div class="col-sm-4">
    <p class="card-text">报告时间：${report.vdate}</p>
    </div>
    <div class="col-sm-4">
    <p class="card-text">预约时间：${report.bdate}</p>
    </div>
    </div>
    <div class="row">
    <div class="col-sm-4">
    <p class="card-text">患者姓名：${report.paname}</p>
    </div>
    <div class="col-sm-4">
     <p class="card-text">患者年龄：${report.paage}</p>
     </div>
     <div class="col-sm-4">
    <p class="card-text">患者性别：${report.pasex}</p>
    </div>
    </div>
    <div class="row mt-auto">
    <p class="card-text">病情描述：${report.ptext}</p>
    </div>
    <div class="row  mt-auto">
    <p class="card-text">病情诊断：${report.dtext}</p>
    </div>
  </div>
  </div>
</c:forEach>
</div>
</div>
  </div>
</body>
</html>